package com.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="Locality")
public class Locality {

	private String id;
	private String rating;
	//private GeoHistory[] geoHistory;
	//private Cuisines[] cuisines; 
	private SuperAdm superAdm;
	//private LocList[] locList;
	private Imagess[]images;
	//private String[] targets;
	//private String activityIntro;
	//private String timeCostDesc;
	//private String favorCnt;
	private String taoziEna;
	//private Source[]source;
	//private MiscInfo [] miscInfo;
	private Location location;
	//private String lxpEna;
	//private LocalTraffic [] localTraffic;
	//private RemoteTraffic [] reTraffic;
	//private String isDone;
	private String zhName;
	//private String travelMonth;
	private String []tags;
	//private boolean abroad;
	private String enName;
	//private String desc;
	//private String diningIntro;
	private Country country;
	//private boolean isCity;
	//private boolean enabled;
	//private String visitCnt;
	//private Cuisines[] commodities;
	//private String[] alias;
	//private String commentCnt;
	private String hotness;
	//private boolean taoziEnabled;
	//private boolean cmsReady;
	//private String city_id;
	//private String [] activities;
	//private String[]specials;
	//private String []tips;
	//private boolean cmsStatus;
	//private String[] votes;
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRating() {
		return rating;
	}
	public void setRating(String rating) {
		this.rating = rating;
	}
	
	public SuperAdm getSuperAdm() {
		return superAdm;
	}
	public void setSuperAdm(SuperAdm superAdm) {
		this.superAdm = superAdm;
	}
	
	public Imagess[] getImages() {
		return images;
	}
	public void setImages(Imagess[] images) {
		this.images = images;
	}
	public String getTaoziEna() {
		return taoziEna;
	}
	public void setTaoziEna(String taoziEna) {
		this.taoziEna = taoziEna;
	}
/*	public Source[] getSource() {
		return source;
	}
	public void setSource(Source[] source) {
		this.source = source;
	}*/
	public Location getLocation() {
		return location;
	}
	public void setLocation(Location location) {
		this.location = location;
	}
	public String getZhName() {
		return zhName;
	}
	public void setZhName(String zhName) {
		this.zhName = zhName;
	}
	public String[] getTags() {
		return tags;
	}
	public void setTags(String[] tags) {
		this.tags = tags;
	}
	public String getEnName() {
		return enName;
	}
	public void setEnName(String enName) {
		this.enName = enName;
	}
	public Country getCountry() {
		return country;
	}
	public void setCountry(Country country) {
		this.country = country;
	}
	public String getHotness() {
		return hotness;
	}
	public void setHotness(String hotness) {
		this.hotness = hotness;
	}
	
	
	public class Cuisines{
		private ArrayList<Map<String, Object>> images;
		private String title;
		private String desc;
		public ArrayList<Map<String, Object>> getImages() {
			return images;
		}
		public void setImages(ArrayList<Map<String, Object>> images) {
			this.images = images;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		
		
	}
	public class Images{
		private String src;
		private String key;
		public String getSrc() {
			return src;
		}
		public void setSrc(String src) {
			this.src = src;
		}
		public String getKey() {
			return key;
		}
		public void setKey(String key) {
			this.key = key;
		}
		
		
	}
	public class SuperAdm{
		private String id;
		private String zhName;
		private String enName;
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getZhName() {
			return zhName;
		}
		public void setZhName(String zhName) {
			this.zhName = zhName;
		}
		public String getEnName() {
			return enName;
		}
		public void setEnName(String enName) {
			this.enName = enName;
		}
		
	}
	public class LocList{
		private String id;
		private String zhName;
		private String enName;
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getZhName() {
			return zhName;
		}
		public void setZhName(String zhName) {
			this.zhName = zhName;
		}
		public String getEnName() {
			return enName;
		}
		public void setEnName(String enName) {
			this.enName = enName;
		}
		
	}
	public class Imagess{
		private String h;
		private String w;
		private String key;
		private HashMap<String, Object>cropHint;
		public String getH() {
			return h;
		}
		public void setH(String h) {
			this.h = h;
		}
		public String getW() {
			return w;
		}
		public void setW(String w) {
			this.w = w;
		}
		public String getKey() {
			return key;
		}
		public void setKey(String key) {
			this.key = key;
		}
		public HashMap<String, Object> getCropHint() {
			return cropHint;
		}
		public void setCropHint(HashMap<String, Object> cropHint) {
			this.cropHint = cropHint;
		}
		
	}
	public class Source{
		private String surl;
		private String id;
		public String getSurl() {
			return surl;
		}
		public void setSurl(String surl) {
			this.surl = surl;
		}
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		
	}
	public class MiscInfo{
		private String title;
		private String desc;
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		
	}
	public class Location{
		private String type;
		private String[] coordinates;
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		public String[] getCoordinates() {
			return coordinates;
		}
		public void setCoordinates(String[] coordinates) {
			this.coordinates = coordinates;
		}
		
	}
	public class LocalTraffic{
		private String title;
		private String desc;
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		
	}
	public class RemoteTraffic{
		private String title ;
		private String desc;
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
		
	}
	public class  Country{
		private String id;
		private String zhName;
		private String enName;
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getZhName() {
			return zhName;
		}
		public void setZhName(String zhName) {
			this.zhName = zhName;
		}
		public String getEnName() {
			return enName;
		}
		public void setEnName(String enName) {
			this.enName = enName;
		}
		
		
	}
}
